package org.jsola.hr.dao;

import org.apache.ibatis.annotations.Param;
import org.jsola.hr.entity.CompanySaleRebatesRulesDO;
import org.jsola.hr.entity.DepInfoDO;
import org.jsola.orm.mapper.IJsolaMapper;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * 用工单位返费关联表
 *
 * @author zhr
 */
@Repository("hrCompanySaleRebatesRulesDAO")
public interface ICompanySaleRebatesRulesDAO extends IJsolaMapper<CompanySaleRebatesRulesDO> {

    /**
     * 删除对应用工单位的规则关系
     *
     * @param companyId 用工单位id
     * @param siteId    所属站点id
     * @return 部门信息列表
     */
    void deleteFromCompany(@Param("companyId") String companyId,
                           @Param("siteId") String siteId);

}

